package com.khyr.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.khyr.vo.DeptVo;
import com.khyr.entity.Dept;
import com.khyr.vo.R;

import java.util.List;

/**
 * @author 宋一恒
 * @version 1.0
 */
public interface DeptService {
    R<Page<Dept>> list(DeptVo deptVo);

    R<String> deleteDeptByDeptIds(List<Long> ids);

    R<Integer> addDept(Dept dept);

    R<Integer> updateDept(Dept dept);

    R<Dept> getDeptByDeptId(Long deptId);

    R<List<Dept>> getDeptList();
}
